//package com.supermap.gwfs.datashare.cxf;
//
//import com.supermap.gwfs.datashare.param.ResponseData;
//import com.supermap.gwfs.datashare.of.service.GridDataService;
//import com.supermap.gwfs.datashare.param.*;
//import com.supermap.gwfs.datashare.util.PageData;
//
//import javax.annotation.Resource;
//import javax.jws.WebMethod;
//import javax.jws.WebService;
//
//@WebService(serviceName="CXFDataShareService", portName="CXFDataSharePort",
//        targetNamespace="http://cxf.datashare.gwfs.supermap.com/",
//        endpointInterface="com.supermap.gwfs.datashare.cxf.CXFDataShare")
//public class CXFDataSharePortImpl implements CXFDataShare {
//    @Resource
//    private GridDataService gridDataService;
//
//    @Override
//    public String testWebService(String name) {
//        return name;
//    }
//
//    @Override
//    public ResponseData XXZX_GRID_GetWeatherPhenomenaWithStationId(WeatherByStationIdRequest request) {
//        PageData pd = new PageData(request);
//        ResponseData data = this.gridDataService.getWeatherPhenomenaResponse(pd);
//        return data;
//    }
//
//    @Override
//    public ResponseData XXZX_GRID_GetWeatherPhenomenaWithStationType(WeatherByStationTypeRequest request) {
//        PageData pd = new PageData(request);
//        ResponseData data = this.gridDataService.getWeatherPhenomenaResponse(pd);
//        return data;
//    }
//
//    @Override
//    public ResponseData XXZX_GRID_GetStationDataWithStationId(GridByStationIdRequest request) {
//        PageData pd = new PageData(request);
//        ResponseData data = this.gridDataService.getNafpEleGridInRectByTimeAndLevelAndValidAndLon(pd);
//        return data;
//    }
//
//    @Override
//    public ResponseData XXZX_GRID_GetStationDataWithStationType(GridByStationTypeRequest request) {
//        PageData pd = new PageData(request);
//        ResponseData data = this.gridDataService.getNafpEleGridInRectByTimeAndLevelAndValidAndLon(pd);
//        return data;
//    }
//
//
//    @WebMethod
//    //@WebResult(name = "responseData", targetNamespace = "http://endpoint.cxf.datashare.gwfs.supermap.com")
//    public ResponseData XXZX_GRID_GetStationDataInRect(GridInRectRequest request) {
//        PageData pd = new PageData(request);
//        ResponseData data = this.gridDataService.getNafpEleGridInRectByTimeAndLevelAndValidtime(pd);
//        return data;
//    }
//}
